<% include header %>
<div id="nav">
    <nav class="container nav-header">
        <div class="text-center ">
            <span class="glyphicon glyphicon-chevron-left back"></span>
            <span class="title"><%= title %></span>
            <span class="reg">注册</span>
        </div>
    </nav>
</div>
<div class="container loginContainer">
    <!--登录表单-->
    <form action="/login" method="post">
        <label for="">用户名</label>
        <input type="text" name="name" class="form-control loginName" placeholder=" 2到16位的数字字母汉字的组合" required
               pattern="^[0-9a-zA-Z\u4e00-\u9fa5]{2,16}$"><br>
        <p id="loginName"></p>

        <label for="">密码</label>
        <input type="password" name="password" class="form-control loginPsd" placeholder="密码格式为6到18位的数字或者字母!" required
               pattern="^[a-z0-9_-]{6,18}$"><br>
        <p id="loginPsd"></p>

        <input type="submit" class="btn btn-primary form-control" value="登录">
    </form>
</div>
<% include footer %>